package com.zb.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

/**
 * @Author WEN
 * @Date 2024/1/6 0006
 **/
@Data
@ApiModel("仓库仓位对象")
public class StorePositionVo {
    @ApiModelProperty(value = "仓位ID，新增不必传，修改必传")
    private Long id;

    @Length(max = 50, message = "仓位名称长度限制 50 个字符以内")
    @ApiModelProperty(value = "仓位")
    private String name;

    @ApiModelProperty(value = "仓位状态：false-启用，true-禁用", example = "false")
    private Boolean status = Boolean.FALSE;

    public StorePositionVo() {
    }

    public StorePositionVo(Long id, String name, Boolean status) {
        this.id = id;
        this.name = name;
        this.status = status;
    }
}
